package itsm.isperp.module.entity.bpm;

import itsm.isperp.framework.domain.IBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 节点设置
 * 
 * @author lizx
 * @date 2013-7-3
 * 
 */
@Entity
@Table(name = "bpm_node_setting")
public class BpmNodeSetting implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	String id;
	@Column
	String actNodeId;
	@Column
	String formUrl;
	@Column
	String bpmProcessSettingId;
	@Column
	String startScriptContent;
	@Column
	String assignScriptContent;
	@Column
	String completeScriptContent;
	@Column
	int commitType;
	@Column
	String defaultTran;
	@Column
	String messageType;
	@Column
	String startMessageTitle;
	@Column
	String assignMessageTitle;
	@Column
	String completeMessageTitle;
	@Column
	String startMessage;
	@Column
	String assignMessage;
	@Column
	String completeMessage;
	@Column
	boolean canWithdraw;
	@Column
	boolean canRollback;

	@Column
	boolean areOpenCommentWindow;

	@Column
	boolean areAutoEntryNext;

	@Column
	String mobileHandleType;

	@Column
	String startMessageScript;

	@Column
	String transferScriptContent;

	public String getTransferScriptContent() {
		return transferScriptContent;
	}

	public void setTransferScriptContent(String transferScriptContent) {
		this.transferScriptContent = transferScriptContent;
	}

	public String getStartMessageScript() {
		return startMessageScript;
	}

	public void setStartMessageScript(String startMessageScript) {
		this.startMessageScript = startMessageScript;
	}

	public String getMobileHandleType() {
		return mobileHandleType;
	}

	public void setMobileHandleType(String mobileHandleType) {
		this.mobileHandleType = mobileHandleType;
	}

	public boolean isAreOpenCommentWindow() {
		return areOpenCommentWindow;
	}

	public void setAreOpenCommentWindow(boolean areOpenCommentWindow) {
		this.areOpenCommentWindow = areOpenCommentWindow;
	}

	public boolean isAreAutoEntryNext() {
		return areAutoEntryNext;
	}

	public void setAreAutoEntryNext(boolean areAutoEntryNext) {
		this.areAutoEntryNext = areAutoEntryNext;
	}

	public String getId() {
		return id;
	}

	public String getActNodeId() {
		return actNodeId;
	}

	public String getFormUrl() {
		return formUrl;
	}

	public String getBpmProcessSettingId() {
		return bpmProcessSettingId;
	}

	public String getStartScriptContent() {
		return startScriptContent;
	}

	public String getAssignScriptContent() {
		return assignScriptContent;
	}

	public String getCompleteScriptContent() {
		return completeScriptContent;
	}

	public int getCommitType() {
		return commitType;
	}

	public String getMessageType() {
		return messageType;
	}

	public String getStartMessageTitle() {
		return startMessageTitle;
	}

	public String getAssignMessageTitle() {
		return assignMessageTitle;
	}

	public String getCompleteMessageTitle() {
		return completeMessageTitle;
	}

	public String getStartMessage() {
		return startMessage;
	}

	public String getAssignMessage() {
		return assignMessage;
	}

	public String getCompleteMessage() {
		return completeMessage;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setActNodeId(String actNodeId) {
		this.actNodeId = actNodeId;
	}

	public void setFormUrl(String formUrl) {
		this.formUrl = formUrl;
	}

	public void setBpmProcessSettingId(String bpmProcessSettingId) {
		this.bpmProcessSettingId = bpmProcessSettingId;
	}

	public void setStartScriptContent(String startScriptContent) {
		this.startScriptContent = startScriptContent;
	}

	public void setAssignScriptContent(String assignScriptContent) {
		this.assignScriptContent = assignScriptContent;
	}

	public void setCompleteScriptContent(String completeScriptContent) {
		this.completeScriptContent = completeScriptContent;
	}

	public void setCommitType(int commitType) {
		this.commitType = commitType;
	}

	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}

	public void setStartMessageTitle(String startMessageTitle) {
		this.startMessageTitle = startMessageTitle;
	}

	public void setAssignMessageTitle(String assignMessageTitle) {
		this.assignMessageTitle = assignMessageTitle;
	}

	public void setCompleteMessageTitle(String completeMessageTitle) {
		this.completeMessageTitle = completeMessageTitle;
	}

	public void setStartMessage(String startMessage) {
		this.startMessage = startMessage;
	}

	public void setAssignMessage(String assignMessage) {
		this.assignMessage = assignMessage;
	}

	public void setCompleteMessage(String completeMessage) {
		this.completeMessage = completeMessage;
	}

	public boolean getCanWithdraw() {
		return canWithdraw;
	}

	public void setCanWithdraw(boolean canWithdraw) {
		this.canWithdraw = canWithdraw;
	}

	public boolean getCanRollback() {
		return canRollback;
	}

	public void setCanRollback(boolean canRollback) {
		this.canRollback = canRollback;
	}

	public String getDefaultTran() {
		return defaultTran;
	}

	public void setDefaultTran(String defaultTran) {
		this.defaultTran = defaultTran;
	}

}
